/*
    Created by IntelliJ IDEA.
    @Auther: gaozhe
    @Date: 2020/5/12 上午 10:54
    
*/
package gaozhe.Controller;

import gaozhe.service.JsoupSpider;
import gaozhe.utils.DownloadThreadUtils;
import gaozhe.utils.DownloadUtil;
import java.util.HashMap;
import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        String url = "https://www.jkforum.net/thread-12598487-1-18.html";
        String url1 = new Scanner(System.in).next();
        HashMap<String, String> hashMap = JsoupSpider. getImgHashMap(url1);
        DownloadUtil.downloadImgByUrlHashMap(hashMap);

    }
}
